<?php
/**
 * A special user class for non-authed users which always belong
 * to guests group and have no id in the db etc.
 */  
class Application_Model_GuestUser extends Application_Model_User {
	public function getGroups() {
		return array(
			Application_Model_Group::findByName('guests')
		);
	}

	public function getRoleId() {
		return 'user-guest';
	}
}